<%@ page language="java" %>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic" %>
<%@page import="support.*, java.util.*" %>
<html:html>
	<head>
		<title>Choose University</title>
	</head>
<body>

<% 
Vector<String> university = (Vector<String>) request.getAttribute("university"); %>

<table border="0" cellpadding="0" cellspacing="0" width="760" align="center">
	<tr>
		<%  int tmp=0;
			
			for (int i=0;i<university.size();++i)
			{ 
				tmp++;%>
			<td>
				<html:link action="/university">
				<html:param name="university" value="<%=university.get(i)%>" />
					<%=university.get(i)%>
				</html:link>
			</td>
			<%if (tmp%3==0)
			{%>
	</tr>
			<%}
			}
%>
</table>
<html:form method="POST" action="/university">
	Type in your University: 
	<html:text property="university" size="20"/> <br/>
	<html:submit>submit</html:submit>
</html:form> 
</body>
</html:html>